<div class="modal fade" id="modal_modify" style="padding-top: 150px" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    商户信息修改
                </h4>
            </div>
                <#if result??>
                <div class="modal-body">
                    <form id="form_modify" class="form-horizontal" role="form">
                        <div class="form-group hidden">
                            <label for="firstname" class="col-sm-2 control-label">ID</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="userId" name="id" value="${result.id?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">商户名称</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="busName_modify" name="busName" placeholder="请输入商户名称" value="${result.busName?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">商户名称</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="companyName_modify" name="companyName" placeholder="请输入公司名称" value="${result.companyName?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">商户地址</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="visitUrl_modify" name="visitUrl" placeholder="请输入商户访问地址" value="${result.visitUrl?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">IP地址</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="serverIp_add" name="serverIp" placeholder="请输入IP地址" value="${result.serverIp?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">状态</label>
                            <div class="col-sm-10">
                                <select name="status" class="form-control">
                                    <option value="0" ${(result.status='0')?string('selected', '')}>待交付</option>
                                    <option value="1" ${(result.status='1')?string('selected', '')}>已交付</option>
                                </select>
                                <#--<input type="text" class="form-control" id="status_modify" name="status" placeholder="请输入状态" value="${result.status?default("")}">-->
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">交付时间</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="finishTime_modify" name="finishTime" placeholder="请输入交付时间" value="${result.finishTime?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">处理时间</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="dealTime_modify" name="dealTime" placeholder="请输入处理时间" value="${result.dealTime?default("")}">
                            </div>
                        </div>
                    </form>
                </div>
                </#if>
            <div class="modal-footer">

                <button type="button" id="modalCancel" onclick="function close() {
                                $('#modal_modify').modal('hide');
                            }" class="btn btn-default" data-dismiss="modal">关闭
                </button>
                <button type="button" id="button_modify" onclick="modifyRecord()" class="btn btn-primary">
                    保存
                </button>
            </div>
        </div>
    </div><!-- /.modal-content -->
</div><!-- /.modal -->